package com.pinapel.aixml.ui;

import javax.swing.tree.TreeModel;

import com.pinapel.aixml.ui.tree.XMLTreeCellRenderer;

public class ArbolUIXML extends ArbolUI {

	public ArbolUIXML() {
		super();
	}

	public void draw(TreeModel tree) {
		tModel = tree;
		renderer = new XMLTreeCellRenderer(tModel.getRoot());
		jTree.setModel(tree);
		jTree.setCellRenderer(renderer);
	}

}
